#include "main.h"

void main(void) {
  DDRA = 0xFF;
  XGATE_Init();
	EnableInterrupts;
	Mcu_Init();
  Mcu_InitClock();
  vfnMemAlloc_Init( &DynamicMemAlloc_config[0] );
  vfnMemAlloc_NearInit(&NearMemAlloc_config[0]);
  SchM_Init(NULL);
  SchM_Start();
  for(;;) {
    /* feeds the dog */
    _FEED_COP(); 
    /* Running  the BackGround Task */
    SchM_BackGround();
  } /* loop forever */
  /* please make sure that you never leave main */
}
